
import { Tools } from 'weaver-mobile';


//获取总数
export const getTotal = (params = {}) => {
    return Tools.callApi({
        url: '/api/workflow/monitor/getTotal',
        method: 'POST',
        params,
    });
}
export const batchDelete = (params = {}) => {
    return Tools.callApi({
        url: "/api/workflow/monitor/delete",
        params,
        method:"POST"
    })
}

//根据datakey获取类表总数
export const getDataCount = (params = {}) => {
    return Tools.callApi({
        url: "/api/ec/dev/table/counts",
        method: 'POST',
        params,
    });
}